package com.mfcxy.entity;

/**
 * 评论类
 * 
 * @author mfcxy
 *
 */
public class Comments {
	private String id;
	private int bid;
	private String nickname;
	private String content;
	private String pid;
	private String pnickname;
	private String pcontent;
	private String email;
	private String url;
	private String headportrait;
	private String createtime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getBid() {
		return bid;
	}

	public void setBid(int bid) {
		this.bid = bid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPnickname() {
		return pnickname;
	}

	public void setPnickname(String pnickname) {
		this.pnickname = pnickname;
	}

	public String getPcontent() {
		return pcontent;
	}

	public void setPcontent(String pcontent) {
		this.pcontent = pcontent;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getHeadportrait() {
		return headportrait;
	}

	public void setHeadportrait(String headportrait) {
		this.headportrait = headportrait;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "Comments [id=" + id + ", bid=" + bid + ", nickname=" + nickname + ", content=" + content + ", pid="
				+ pid + ", pnickname=" + pnickname + ", pcontent=" + pcontent + ", email=" + email + ", url=" + url
				+ ", headportrait=" + headportrait + ", createtime=" + createtime + "]";
	}

}
